#include <stdio.h>
#include <conio.h>
#include "circular-linked-list.h"
int PrintList(CrcList List);
CrcList MyList;
ElemType tmp;

int main(){
    InitList(&MyList);
    ListInsert(&MyList,1,12);
    ListInsert(&MyList,6,33);
    ListInsert(&MyList,6,90);
    //ListDelete(&MyList,4,&tmp);
    printf("%d\n",tmp);
    PrintList(MyList);
    ClearList(&MyList);
    return(0);
}

int PrintList(CrcList List){
    CrcLiNode *p_current = List.list_head;
    do{
        printf("%d ",p_current->node_data);
        p_current = p_current->next_node;
    }while(1);
    return(0);
}